package com.sdlh.demo.springboot.common;

public class ResponseResult<T> {
    private String status;
    private String msg;

    public static ResponseResult success(String status) {
        ResponseResult result = new ResponseResult();
        result.status = status;
        result.msg = "";
        return result;
    }

    public static ResponseResult success(String status, String msg) {
        ResponseResult result = new ResponseResult();
        result.status = status;
        result.msg = msg;
        return result;
    }
}
